package com.gbq.service;


import com.gbq.vo.Device;
import com.gbq.vo.KeyPerson;
import net.sf.json.JSONObject;


import java.util.Date;
import java.util.List;

public interface BaseService {

    public String selectBySn(String sn);

    public List<KeyPerson> selectByCardNo(String idCardNo);

    public void updateDeviceStatus(String validity, String sn, Date updateTime);

    public List<Device> select();

    public JSONObject selectPersonByCardno(String cardno);

}
